package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@TableName("tg_user_mining_count")
@ApiModel("用户挖矿次数表")
public class TgUserMiningCount {
    @ApiModelProperty(value = "记录ID，主键")
    @TableId(type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "免费次数，每8小时重置为3次")
    private Integer freeTimes;

    @ApiModelProperty(value = "奖励次数")
    private Integer rewardTimes;
} 